package com.bootdo.project.service.impl;

import com.bootdo.project.domain.TDistributionSet;
import com.bootdo.project.dao.TDistributionSetMapper;
import com.codegen.vo.Page;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;

import org.apache.ibatis.annotations.Param;

/**
 *
 * Created by xxxx on 2019/03/19.
 */
@Service
public class TDistributionSetService {

	@Autowired
    private TDistributionSetMapper tDistributionSetMapper;
    
    public int deleteByPrimaryKey(Integer id){
        return tDistributionSetMapper.deleteByPrimaryKey(id);
    }

    public int insert(TDistributionSet record){
        return tDistributionSetMapper.insert(record);
    }

    public int insertSelective(TDistributionSet record){
        return tDistributionSetMapper.insertSelective(record);
    }

    public TDistributionSet selectByPrimaryKey(Integer id){
        return tDistributionSetMapper.selectByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(TDistributionSet record){
        return tDistributionSetMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(TDistributionSet record){
        return tDistributionSetMapper.updateByPrimaryKey(record);
    }

    public List<TDistributionSet> selectByCondition(TDistributionSet record){
        return tDistributionSetMapper.selectByCondition(record);
    }

    public List<TDistributionSet> selectAll(){
        return tDistributionSetMapper.selectAll();
    }

    public List<TDistributionSet> selectByPage(Page<TDistributionSet> page){
        return tDistributionSetMapper.selectByPage(page);
    }

    public Integer count(TDistributionSet record){
        return tDistributionSetMapper.count(record);
    }

    public int deleteByCondition(TDistributionSet record){
        return tDistributionSetMapper.deleteByCondition(record);
    }

}
